<head th:fragment="header" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<meta name="keywords" content="好呢网站,好呢blog,honeyblog,龙哥博客,好呢博客网站,好呢网站"/>
<meta name="description" content="本站为私人开源网站,类型为blog," />
<title>[[${@config.getKey('sys.blog.title')}]]</title>
<link href="/honeyms/blog/css/bootstrap.min.css" rel="stylesheet">
<link href="/ajax/libs/layui/css/layui.css" rel="stylesheet">
<link href="/honeyms/blog/css/honey.css" rel="stylesheet">
<link href="/honeyms/blog/css/honey-blog.css" rel="stylesheet">
<link href="/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="/ajax/libs/summernote/summernote.css" rel="stylesheet"/>
<link href="/ajax/libs/summernote/summernote-bs3.css" rel="stylesheet"/>
</head>
<nav th:fragment="nav" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
	<div class="container">
		<div class="navbar-header page-scroll ">
			<button type="button" class="navbar-toggle" data-toggle="collapse"
				data-target="#bs-example-navbar-collapse-1">
				<span class="sr-only"></span> <span
					class="icon-bar"></span> <span class="icon-bar"></span> <span
					class="icon-bar"></span>
			</button>
			<a class="adt" href="/"><img class="pull-left logo" alt="logo" style="height:55px;width:201px;cursor:pointer;" src="/img/logo/honey-b-rl.png"></a>
		</div>
		<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
			<ul class="nav navbar-nav navbar-right nav-c" th:with="type=${@dict.getType('blog_menu')}">
			    <li th:each="dict : ${type}" th:if="${(user eq null && dict.dictLabel ne '关注')||(user ne null && dict.dictLabel ne '登录')}">
			    	<a class="adt" th:href="${dict.dictValue}"><b style="color:#9150F3" th:text="${dict.dictLabel}"></b></a>
			    </li>
			    <li th:if="${user ne null}">
				   <ul class="nav nav-tabs nav-c">
						<li class="dropdown">
						    <a style="height:65px;cursor:pointer;" href="#" data-toggle="dropdown" class="dropdown-toggle" >
						    	<img style="cursor:pointer;" alt="image" class="img-circle img-circle-user xz" height="40" width="40" th:src="(${#strings.isEmpty(@user.getUser())}) ? @{/img/logo/honey-b.png} : @{${@user.getUser().avatar}}" th:onerror="this.src='/img/logo/honey-b.png'"/>
						    </a>
						    <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu">
						        <li role="presentation">
						            <a role="menuitem" shiro:hasPermission="blog:blog:blog" tabindex="-1" href="/blog/user/homepage">进入主页</a>
						        </li>
						        <li role="presentation">
						            <a role="menuitem" shiro:hasPermission="admin:blog:blog" tabindex="-1" href="/index">后台管理</a>
						        </li>
						        <li role="presentation">
						            <a role="menuitem" shiro:hasPermission="blog:blog:blog" tabindex="-1" href="/chat/honeychat">聊聊人生</a>
						        </li>
						        <li role="presentation">
						        </li>
						        <li role="presentation" class="divider"></li>
						        <li role="presentation">
						            <a role="menuitem" tabindex="-1" href="/logout">退出</a>
						        </li>
						    </ul>
						</li>
					</ul>
				</li>
			</ul>
		</div>
	</div>
</nav>
<div th:fragment="footer" xmlns:th="http://www.thymeleaf.org">
	<footer>
		<!-- 友情链接开始 -->
		<div class="container">
			<div class="col-md-12 column">
			    <br>
			    <span class="text-danger">友情链接:</span><br>
		    	<ul class="nav nav-pills" th:with="type=${@dict.getType('sys_blog_link')}">
			       <li th:each="dict : ${type}">
			             <a class="text-info adt" th:href="${dict.dictValue}" style="font-size:20px;"  
			             th:text="${dict.dictLabel}" th:title="${dict.dictLabel}" target="_blank"></a>&emsp;&emsp;
			       </li>
			    </ul>
			</div>
		</div>
		<hr>
		<!-- 友情链接结束 -->
		<div class="container">
			<div class="row">
				<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
					<ul class="list-inline text-center">
						<li>
							<a href="http://wpa.qq.com/msgrd?v=3&uin=885173361&site=qq&menu=yes" title="honey QQ" target="_blank">
								<b class="fa-stack fa-lg adt"> 
									<i class="fa fa-circle fa-stack-2x"></i> 
									<i class="fa fa-qq fa-stack-1x fa-inverse"></i>
								</b>
							</a>
						</li>
						<li>
							<a href="http://user.qzone.qq.com/885173361" title="honey空间" target="_blank">
								<b class="fa-stack fa-lg adt"> 
									<i class="fa fa-circle fa-stack-2x"></i> 
									<i class="fa fa-home fa-stack-1x fa-inverse"></i>
								</b>
							</a>
						</li>
						<li>
							<a href="http://huangwenlong.wicp.vip/swagger-ui.html" title="honey接口" target="_blank">
								<b class="fa-stack fa-lg adt"> 
									<i class="fa fa-circle fa-stack-2x"></i> 
									<i class="fa fa-plug fa-stack-1x fa-inverse"></i>
								</b>
							</a>
						</li>
					</ul>
					
					<p class="copyright text-muted textdanlan">Copyright©<span th:utext="${@config.getKey('sys.blog.copyright')}"></span>&nbsp;&nbsp;版本号：<span th:utext="${@config.getKey('sys.blog.ver')}"></span></p>
                    <p class="copyright text-muted textdanlan">注：<span th:utext="${@config.getKey('sys.blog.zhu')}"></span></p><br><hr>
				</div>
			</div>
		</div>
	</footer>
	<div class="side" >
		<ul>
		    <li>
				<!-- <div class="borderimg">
					<img src="/img/webmaster/zfb.jpg" title="支付宝赞助"/>
				</div> -->
				<a class="sidetop" onclick="alertimg('zfb.jpg')" title="支付宝赞助">
					<i class="fa fa-rmb"></i>
				</a>
			</li>
			<li>
				<!-- <div class="borderimg">
					<img src="/img/webmaster/wx.jpg" title="微信赞助"/>
				</div> -->
				<a class="sidetop" onclick="alertimg('wx.jpg')" title="微信赞助">
					<i class="fa fa-dollar"></i>
				</a>
			</li>
			<li>
				<!-- <div class="borderimg">
					<img src="/img/webmaster/qq.png" title="学习交流"/>
				</div> -->
				<a class="sidetop" id="qqboder" onclick="alertimg('qq.png')" title="学习交流">
					<i class="fa fa-qq"></i>
				</a>
			</li>
			
		</ul>
	</div>
	<div class="side-right">
		<ul>
			<li>
				<a class="sidetop" id="closebg" href="javascript:closebg()" style="display:none" title="太阳模式☀">
					<i class="fa fa-sun-o fa-stack-2x"></i>
				</a>
				<a class="sidetop" id="openbg" href="javascript:openbg()" title="月亮模式🌙">
					<i class="fa fa-moon-o fa-stack-2x"></i>
				</a>
			</li>
			<li>
				<a class="sidetop" id="scroll-up" title="返回顶部" style="display: none;"><i class="fa fa-arrow-up fa-stack-2x"></i></a>
			</li>
		</ul>
	</div>
	<script src="/js/jquery.min.js"></script>
	<script src="/js/bootstrap.min.js"></script>
	<script src="/ajax/libs/layer/layer.min.js"></script>
	<script src="/honeyms/blog/js/ajax-util.js"></script>
	<script src="/ajax/libs/summernote/summernote.min.js"></script>
	<script src="/ajax/libs/summernote/summernote-zh-CN.js"></script>
	<script src="/honeyms/blog/js/honeyblog.js"></script>
	<script type="text/javascript">
		function closebg(){
		    document.getElementById("closebg").style.display="none";
		    document.getElementById("openbg").style.display="block";
			document.getElementById("bground").src="";
			$.cookie("bg", null);
			$.cookie("bg", "f");
		}
		
		function openbg(){
			document.getElementById("openbg").style.display="none";
		    document.getElementById("closebg").style.display="block";
			document.getElementById("bground").src="/js/h5/lxy.html";
			$.cookie("bg", null);
			$.cookie("bg", "b");
		}
		
		$(function(){
			var bg=$.cookie("bg")
			if(bg=='b'){
				openbg();
			}else if(bg=='f'){
				closebg();
			}
			$("#bgplay").click();
		})
		
	</script>
</div>
